Auto merge of #2019 - phi-gamma:dot-path-fix, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 4 Oct 2015 18:42:08 +0000 (18:42 +0000)
committerbors <bors@rust-lang.org>
Sun, 4 Oct 2015 18:42:08 +0000 (18:42 +0000)
When traversing the directory tree, cargo will omit paths that start
with a period character to avoid interfering with other software.
Unfortunately this also prevents a crate from being located in a
directory prefixed with a period. Address this by extending the test
against the traversal root that already guards Git submodules.

Fixes issue #1999 which was introduced with commit 11144645f..


Trivial merge